package com.halflife.comeElectricity.basic.address;

import java.util.List;

public class AddressVO {

    private Address startPlace;
    private List<Address> destination;

    public AddressVO(){}

    public AddressVO(Address startPlace,List<Address> destination){

        if(startPlace!=null)
            this.startPlace = startPlace;
        if(destination!=null)
            this.destination = destination;
    }

    public Address getStartPlace() {
        return startPlace;
    }

    public void setStartPlace(Address startPlace) {
        this.startPlace = startPlace;
    }

    public List<Address> getDestination() {
        return destination;
    }

    public void setDestination(List<Address> destination) {
        this.destination = destination;
    }
}
